<?php


namespace api\web\model;


use think\Model;

class UserModel extends Model
{
    protected $name = 'users';
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = true;

    // 定义时间戳字段名
    protected $createTime = 'create_time';
    protected $updateTime = false;

}